<template>
  <button @click="getClick" class="j-button bg-transparent border-none">
    <img class="w-[50px]" src="../../assets/loginPage/closeButton.svg" alt="" />
  </button>
</template>

<script>
export default {
  name: 'j-button',
  emits: ['click'],
  setup(props, { emit }) {
    const getClick = () => {
      emit('click')
    }

    return {
      getClick
    }
  }
}
</script>

<style scoped>
.j-button {
  /*border-width: 1px;*/
  /*border-color: transparent;*/
  /*border-color: yellow;*/
  /*border-radius: 30px;*/
  justify-content: center;
  display: flex;
  align-items: center;
}

.j-button:hover {
  /*border-color: #00f6ff;*/
  /*border-width: 2px;*/
  background-color: red;
  transition: 1s ease;
  border-radius: 20px;
}
</style>
